package com.keyou.reggie.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.keyou.reggie.dto.DishDTO;
import com.keyou.reggie.entity.Dish;

import java.util.List;

/**
 * @Author: klq
 * @Date: 2023/1/10 16:45
 * @Description:
 */
public interface DishService extends IService<Dish> {

    void saveWithFlavor(DishDTO dishDto);

    DishDTO getDishByIdWithFlavor(Long dishId);

    void updateWithFlavor(DishDTO dishDTO);

    void deleteWithflavor(List<Long> ids);

}
